$(document).ready(function (e) {
    $.ajax({
        url: "/getUrlList",
        type: "get",
        // data: JSON.stringify({
        //     pageSize: 10,
        //     pageNum: 1
        // }),
        contentType: "application/json;charset=UTF-8",
        dataType: "json",
        success: function (data) {
            if (data.code == 200) {


                console.log(data)
                $(".breadcrumb li").remove();
                var li = '<li>友情链接 :</li>'
                var list = data.data
                for (var i = 0; i < list.length; i++) {

                    li += "<li>\n" +
                        "                            <a href=\"" + list[i].link + "\" title=\"\" target=\"_blank\">\n" +
                        "\n" +
                        "                                " + list[i].linkName + "\n" +
                        "\n" +
                        "                            </a>\n" +
                        "                        </li>"
                }
                $(".breadcrumb").append(li)
            }
        }

    })
});